{if $data}
    <ul class="ca-menu">
    {foreach from=$data.group item=group}
        <li class="{$group.name}">
            <div class="cont {$group.class_2}" >
                <span class="ca-icon">A</span>
                <div class="ca-content {$group.class}">
                    <h2 class="ca-main">{$group.title}</h2>
                    {if isset($group.item)}
                        {foreach from=$group.item item=menu_item}
                            <a class="ca-sub {$menu_item.class}" href="{$smarty.const.PUBLIC_URL}/{$menu_item.href}">{$menu_item.label}</a>
                        {/foreach}
                    {/if}
                </div>
            </div>
        </li>
    {/foreach}
    </ul>
{/if}
